﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReadOnly.aspx.cs" Inherits="EnvironmentManagerSystem.EvaluationUnitManager.ReadOnly" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>环评单位信息</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />

    <script src="../Script/artDialog.js?skin=aero" type="text/javascript"></script>

    <script src="../Script/iframeTools.js" type="text/javascript"></script>

    <script src="../Script/ShowMinPage.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server" enctype="multipart/form-data">
    <div align="center">
        <table class="style1">
            <tr>
                <td style="width: 15%">
                    单位名称：
                </td>
                <td style="width: 30%">
                    <asp:TextBox ID="txtUnitName" runat="server" Width="95%" ReadOnly="true"></asp:TextBox>
                </td>
                <td style="width: 2%">
                </td>
                <td style="font-size: large; text-align: center;">
                    资质文件：
                </td>
            </tr>
            <tr>
                <td>
                    通讯地址：
                </td>
                <td>
                    <asp:TextBox ID="txtAddress" runat="server" Width="95%" ReadOnly="true"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
                <td rowspan="7">
                    <asp:Image ID="Image1" runat="server" Height="200px" Width="400px" ImageAlign="Middle" />
                </td>
            </tr>
            <tr>
                <td>
                    证书编号：
                </td>
                <td>
                    <asp:TextBox ID="txtCertificateNo" runat="server" Width="95%" ReadOnly="true"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    联系电话：
                </td>
                <td>
                    <asp:TextBox ID="txtPhone" runat="server" Width="95%" ReadOnly="true"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    邮政编码：
                </td>
                <td>
                    <asp:TextBox ID="txtZipCode" runat="server" Width="95%" ReadOnly="true"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    评价范围：
                </td>
                <td>
                    <asp:TextBox ID="txtEvaluationScope" runat="server" Width="95%" ReadOnly="true"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    登&nbsp; 录&nbsp; 名：
                </td>
                <td>
                    <asp:TextBox ID="txtLoginName" runat="server" Width="95%"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    登录密码：
                </td>
                <td>
                    <asp:TextBox ID="txtPwd" runat="server" Width="95%"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td align="left" colspan="2">
                    <input id="Button1" type="button" value="添加项目负责人" onclick="frm.show('ProjectLeaderEdit.aspx?','添加项目负责人',true,750,550)"
                        onclick="return Button1_onclick()" />
                </td>
                <td align="left">
                    &nbsp;
                </td>
                <td style="font-size: large; text-align: center;" align="center">
                    全体人员签字表:
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:GridView ID="gvLeader" runat="server" Width="100%" AutoGenerateColumns="False"
                        EmptyDataText="无项目负责人" OnRowEditing="gvLeader_RowEditing" OnRowDeleting="gvLeader_RowDeleting"
                        DataKeyNames="ID">
                        <Columns>
                            <asp:BoundField DataField="Name" HeaderText="姓名" />
                            <asp:BoundField DataField="CredentialsNo" HeaderText="证件号" />
                            <asp:TemplateField HeaderText="查看环评证件">
                                <ItemTemplate>
                                    <asp:Label ID="Label1" runat="server" Text='<%# (Eval("CertificatePicURL").ToString().Trim()).Length>0?"有":"无" %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="操作">
                                <ItemTemplate>
                                    <a onclick="frm.show('../EvaluationUnitManager/ProjectLeaderEdit.aspx?ID=<%# Eval("ID")%>','编辑项目负责人',true,750,550)"
                                        style="text-decoration: underline; cursor: hand;">编辑</a> &nbsp;&nbsp;
                                    <asp:LinkButton ID="LinkButton2" runat="server" CommandName="Delete">删除</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Image ID="Image2" runat="server" Height="200px" Width="400px" ImageAlign="AbsMiddle" />
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left">
                    <asp:Button ID="btnSave0" runat="server" Text="刷新项目负责人" OnClick="btnSave0_Click"
                        Style="height: 26px" />
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
